package com.lichuan.zhaoshangdemo.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tbl_menuitems")
public class MenuItems extends BaseEntity{

    private String uidmenuid;
    private String strmenuname;
    private String strmenucode;
    private String uidparentmenuid;
    private Integer strmenuorder;
    private String strmenuurl;
    private Integer istatus;

    @TableField(exist = false)
    private List<MenuItems> children;

    @TableField(exist = false)
    private List<ButtonItems> buttons;
}
